#ifndef LevelRule_h
#define LevelRule_h

#include "Statement.h"
#include <list>

class cLevelRule {
public:
	inline void AddConditionStatement( const cStatement &lStatement ) {mConditions.push_back(lStatement);}
	inline void AddActionStatement( const cStatement &lStatement )		{mActions.push_back(lStatement);}
	void EvalRule();

private:
	typedef list<cStatement> cStatementList;
	typedef cStatementList::iterator cStatementListIt;
	cStatementList mConditions;
	cStatementList mActions;
};
#endif
